package com.ruoyi.grape.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 种植信息对象 tb_grape_plant
 * 
 * @author ld
 * @date 2023-11-18
 */
public class GrapePlant extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 种植编号 */
    private Long plantId;

    /** 种植时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "种植时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date plantTime;

    /** 地块编号 */
    @Excel(name = "地块编号")
    private Long plotId;

    /** 种植品种 */
    @Excel(name = "种植品种")
    private String grapeSort;

    /** 种植架式 */
    @Excel(name = "种植架式")
    private String plantTrellis;

    /** 种植密度 */
    @Excel(name = "种植密度")
    private String plantDensity;

    /** 行间距 */
    @Excel(name = "行间距")
    private String rowSpacing;

    /** 株间距 */
    @Excel(name = "株间距")
    private String plantSpacing;

    /** 备注 */
    @Excel(name = "备注")
    private String plantNote;

    public void setPlantId(Long plantId) 
    {
        this.plantId = plantId;
    }

    public Long getPlantId() 
    {
        return plantId;
    }
    public void setPlantTime(Date plantTime) 
    {
        this.plantTime = plantTime;
    }

    public Date getPlantTime() 
    {
        return plantTime;
    }
    public void setPlotId(Long plotId) 
    {
        this.plotId = plotId;
    }

    public Long getPlotId() 
    {
        return plotId;
    }
    public void setGrapeSort(String grapeSort) 
    {
        this.grapeSort = grapeSort;
    }

    public String getGrapeSort() 
    {
        return grapeSort;
    }
    public void setPlantTrellis(String plantTrellis) 
    {
        this.plantTrellis = plantTrellis;
    }

    public String getPlantTrellis() 
    {
        return plantTrellis;
    }
    public void setPlantDensity(String plantDensity) 
    {
        this.plantDensity = plantDensity;
    }

    public String getPlantDensity() 
    {
        return plantDensity;
    }
    public void setRowSpacing(String rowSpacing) 
    {
        this.rowSpacing = rowSpacing;
    }

    public String getRowSpacing() 
    {
        return rowSpacing;
    }
    public void setPlantSpacing(String plantSpacing) 
    {
        this.plantSpacing = plantSpacing;
    }

    public String getPlantSpacing() 
    {
        return plantSpacing;
    }
    public void setPlantNote(String plantNote) 
    {
        this.plantNote = plantNote;
    }

    public String getPlantNote() 
    {
        return plantNote;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("plantId", getPlantId())
            .append("plantTime", getPlantTime())
            .append("plotId", getPlotId())
            .append("grapeSort", getGrapeSort())
            .append("plantTrellis", getPlantTrellis())
            .append("plantDensity", getPlantDensity())
            .append("rowSpacing", getRowSpacing())
            .append("plantSpacing", getPlantSpacing())
            .append("plantNote", getPlantNote())
            .toString();
    }
}
